package info.sean.util.ftp;

/**
 *
 */
public class SFTPProperties {

    private String host;			//sftp host
    private int port = 22;				//sftp port
    private int timeout = 30;			//sftp connect timeout 秒
    private String userName;		//sftp user name
    private String password;		//sftp password
    private String privateKeyPath;	//密钥文件路径
    private String passPhrase;		//密钥口令


	public SFTPProperties(String host, int port, int timeout, String userName, String password, String privateKeyPath,
			String passPhrase) {
		this.host = host;
		this.port = port;
		this.timeout = timeout;
		this.userName = userName;
		this.password = password;
		this.privateKeyPath = privateKeyPath;
		this.passPhrase = passPhrase;
	}

	public SFTPProperties() {

	}

	public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPrivateKeyPath() {
        return privateKeyPath;
    }

    public void setPrivateKeyPath(String privateKeyPath) {
        this.privateKeyPath = privateKeyPath;
    }

    public String getPassPhrase() {
        return passPhrase;
    }

    public void setPassPhrase(String passPhrase) {
        this.passPhrase = passPhrase;
    }
}
